|
![](/i/fill.gif) |
In article <406f258e@news.povray.org>, war### [at] tag povray org says...
> John D. Gwinner <joh### [at] cornell edu> wrote:
> > Is it possible to do a Bitwise AND in SDL?
>
> POV-Ray handles only flotaing point numbers.
> Even though you can more or less simulate bit flags with floating
> point numbers, it's not very feasible. And certainly there are no
> bit operators for them.
>
> Just use an array for your flags. It may take more memory, but you
> are not having millions of flags, are you?-)
>
>
But.... Some mathematical operations require such operations.... Or at
least they can use them, so it is odd that such a thing is not actually
supported. Any method used to simulate this, where the result needs to be
used as a real numeric value would take extra steps to 'build' the value
from the array, string or whatever. This is imho quite silly.
--
void main () {
call functional_code()
else
call crash_windows();
}
Post a reply to this message
|
![](/i/fill.gif) |